<template>
  <footer class="el-footer" :style="{ height }">
    <slot></slot>
  </footer>
</template>

<script setup lang="ts">
import { withDefaults } from "vue";

interface Props {
  height?: string;
}
withDefaults(defineProps<Props>(), {
  height: "60px",
});

defineOptions({ name: "ElFooter" });
</script>

<style lang="scss">
@import "../styles/mixin";
@include b(input) {
  padding: $--footer-padding;
  box-sizing: border-box;
  flex-shrink: 0;
  @include m(inner) {
    width: 300px;
  }
}
</style>
